import 'package:FiduMart/core/utils/stringUtil.dart';
import 'package:FiduMart/generated/json/base/json_field.dart';
import 'package:FiduMart/generated/json/cdn_game_entity.g.dart';
import 'dart:convert';
export 'package:FiduMart/generated/json/cdn_game_entity.g.dart';

@JsonSerializable()
class CdnGameEntity {
	int? id;
	String? address;
	@JSONField(name: "h5_address")
	String? h5Address;
	String? pictureZh;
	String? pictureEn;
	String? pictureTha;
	String? nameZh;
	String? nameEn;
	String? nameTha;
	@JSONField(name: "Loginh5")
	int? needLogin;//2需要登录
	int? titledisplay;
	String? apppicture;
	int? buttontype;//1橙色 2蓝色 3紫色

	String? buttonnameZh;
	String? buttonnameEn;
	String? buttonnameTha;

	String? feature_Zh;
	String? feature_En;
	String? feature_Tha;

	//游戏类型
	String? logo;
	String? vpicture;
	String? video;

	CdnGameEntity();

	factory CdnGameEntity.fromJson(Map<String, dynamic> json) => $CdnGameEntityFromJson(json);

	Map<String, dynamic> toJson() => $CdnGameEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}